package com.visionblue.business.ship.model.enums

/**
 * @author: xlh
 * @date: 2020-06-17 11:25 AM
 * @desc:
 */
enum class ApplicationTypeEnum(val type: Int, val desc: String) {

    /**
     * 任务单类型
     */
    PRODUCE(1, "接收任务单"),
    TRANSPORT(2, "转运任务单"),
    ;

    companion object {

        fun getApplicationType(type: Int): ApplicationTypeEnum? {
            return values().find { it.type == type }
        }
    }
}